package com.ktgj.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 常用地址对象 common_addresses
 * 
 * @author ruoyi
 * @date 2021-09-01
 */
public class CommonAddresses extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    private Long commonAddresserId;

    /** 收货人 */
    @Excel(name = "收货人")
    private String consignee;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 所在地区 */
    @Excel(name = "所在地区")
    private String region;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detailedAddress;

    /** 标签 */
    @Excel(name = "标签")
    private String label;

    /** 是否为默认地址 */
    @Excel(name = "是否为默认地址")
    private String whetherDefaultAddress;

    /** 会员id */
    @Excel(name = "会员id")
    private Long memberId;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String isDeletes;

    public String getIsDeletes() {
        return isDeletes;
    }

    public void setIsDeletes(String isDeletes) {
        this.isDeletes = isDeletes;
    }

    public Long getCommonAddresserId() {
        return commonAddresserId;
    }

    public void setCommonAddresserId(Long commonAddresserId) {
        this.commonAddresserId = commonAddresserId;
    }

    public void setConsignee(String consignee)
    {
        this.consignee = consignee;
    }

    public String getConsignee() 
    {
        return consignee;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setRegion(String region) 
    {
        this.region = region;
    }

    public String getRegion() 
    {
        return region;
    }
    public void setDetailedAddress(String detailedAddress) 
    {
        this.detailedAddress = detailedAddress;
    }

    public String getDetailedAddress() 
    {
        return detailedAddress;
    }
    public void setLabel(String label) 
    {
        this.label = label;
    }

    public String getLabel() 
    {
        return label;
    }
    public void setWhetherDefaultAddress(String whetherDefaultAddress) 
    {
        this.whetherDefaultAddress = whetherDefaultAddress;
    }

    public String getWhetherDefaultAddress() 
    {
        return whetherDefaultAddress;
    }
    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("commonAddresserId", getCommonAddresserId())
            .append("consignee", getConsignee())
            .append("phone", getPhone())
            .append("region", getRegion())
            .append("detailedAddress", getDetailedAddress())
            .append("label", getLabel())
            .append("whetherDefaultAddress", getWhetherDefaultAddress())
            .append("memberId", getMemberId())
            .toString();
    }
}
